/**
 * 
 */
package org.tangram.component.base;

import org.simpleframework.xml.stream.InputNode;
import org.tangram.component.Extension;

/**
 * 
 * 扩展加载错误时存储的扩展配置信息
 * 
 * @author han_feng
 * 
 */
public class ErrorExtensionConfig implements Extension {

	private String point;

	private Throwable error;

	private InputNode node;

	public ErrorExtensionConfig(String point, Throwable error, InputNode node) {
		this.point = point;
		this.error = error;
		this.node = node;
	}

	public String getPoint() {
		return point;
	}

	public InputNode getNode() {
		return this.node;
	}

	public Throwable getError() {
		return error;
	}

	public boolean isValid() {
		return false;
	}

}
